using System;
using System.Collections;

namespace Slaks.DocumentSerialization.Document.Wordnet
{
	public class WordnetNode : Node
	{
		//each node contains an information about its senses (parts of speech)
		public Senses SenseInfo;
		public IList SynonymList;
		public WordnetNode() { SynonymList = new ArrayList(); }
		public bool IsSynonymExists(long id,Synonym skipSynonym)
		{
			
			foreach(Synonym syn in SynonymList)
			{
				if (syn.IsIdExists(id)) return true;
			}
			return false;
		}
		public new static WordnetNode CreateNewNode()
		{
			return new WordnetNode();
		}
	}
}
